/*
 * #%L
 * SwiftUICommonUtilities
 * $Id:$
 * $HeadURL:$
 * %%
 * Copyright (C) 2011 - 2012 Linkwithweb
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */
/**
 * 
 */
package com.linkwithweb.products.swiftui.context;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author ashwin kumar
 * 
 */
public class ExcelFile implements Serializable {
	private static final long serialVersionUID = 123424323423452L;
	private String fileName = "";
	private String filePath = "";
	private String tableName = "";
	private String schemaName = "";
	private String primaryKeyColumnName = "";
	private String excelType = ExcelTypes.SIMPLETYPE;
	private String uploadType = "";

	/**
	 * Rows that can be used for tracking....
	 * 
	 * @author ashwin kumar
	 * 
	 */
	private List<String> rowProcessingStatusList = new ArrayList<String>();

	public interface ExcelTypes {
		String COMPLEXTYPE = "COMPLEX_TYPE";
		String SIMPLETYPE = "SIMPLE_TYPE";
	}

	List<ExcelTab> excelTabs = new ArrayList<ExcelTab>();

	/**
	 * @return the fileName
	 */
	public String getFileName() {
		return fileName;
	}

	/**
	 * @param fileName
	 *            the fileName to set
	 */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	 * @return the filePath
	 */
	public String getFilePath() {
		return filePath;
	}

	/**
	 * @param filePath
	 *            the filePath to set
	 */
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}

	/**
	 * @param tableName
	 *            the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	/**
	 * @return the primaryKeyColumnName
	 */
	public String getPrimaryKeyColumnName() {
		return primaryKeyColumnName;
	}

	/**
	 * @param primaryKeyColumnName
	 *            the primaryKeyColumnName to set
	 */
	public void setPrimaryKeyColumnName(String primaryKeyColumnName) {
		this.primaryKeyColumnName = primaryKeyColumnName;
	}

	/**
	 * @return the excelTabs
	 */
	public List<ExcelTab> getExcelTabs() {
		return excelTabs;
	}

	/**
	 * @param excelTabs
	 *            the excelTabs to set
	 */
	public void setExcelTabs(List<ExcelTab> excelTabs) {
		this.excelTabs = excelTabs;
	}

	/**
	 * @return the schemaName
	 */
	public String getSchemaName() {
		return schemaName;
	}

	/**
	 * @param schemaName
	 *            the schemaName to set
	 */
	public void setSchemaName(String schemaName) {
		this.schemaName = schemaName;
	}

	/**
	 * @return the excelType
	 */
	public String getExcelType() {
		return excelType;
	}

	/**
	 * @param excelType
	 *            the excelType to set
	 */
	public void setExcelType(String excelType) {
		this.excelType = excelType;
	}

	/**
	 * @return the rowProcessingStatusList
	 */
	public List<String> getRowProcessingStatusList() {
		return rowProcessingStatusList;
	}

	/**
	 * @param rowProcessingStatusList
	 *            the rowProcessingStatusList to set
	 */
	public void setRowProcessingStatusList(List<String> rowProcessingStatusList) {
		this.rowProcessingStatusList = rowProcessingStatusList;
	}

	/**
	 * @return the uploadType
	 */
	public String getUploadType() {
		return uploadType;
	}

	/**
	 * @param uploadType
	 *            the uploadType to set
	 */
	public void setUploadType(String uploadType) {
		this.uploadType = uploadType;
	}

}
